package com.celan.year2023.month06.day23;

/**
 * @author Celan
 * @description TODO
 */
public class Solution {
    public int maximumValue(String[] strs) {
        int max = Integer.MIN_VALUE;
        for (String str : strs) {
            int val;
            try {
                val = Integer.parseInt(str);
            } catch (Exception e) {
                val = str.length();
            }
            max = Math.max(max, val);
        }
        return max;
    }
}
